﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RelativeLinkSelector.aspx.cs" Inherits="Hxsoft.AppV1.Admin.ArticleManage.RelativeLinkSelector" %>

<%@ Register Src="../Controls/ModuleArticleSelector.ascx" TagName="ModuleArticleSelector"
	TagPrefix="uc" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>相关链接</title>
	<script type="text/javascript">
	<!--
	function SetRelativeLink(links)
	{
		try
		{
			CallBack("<%# CallbackFunction %>", links ) ;
			window.top.close() ;
			window.top.opener.focus() ;
		}
		catch(e){}
	}
	
	function CallBack(callBackFunction, links)
	{
		if( callBackFunction )
		{
			if( typeof(callBackFunction) == "string" )
			{
				try
				{
					callBackFunction = eval(callBackFunction);
				}
				catch(e)
				{
					callBackFunction = "top.opener." + callBackFunction;
					
					try
					{
						callBackFunction = eval(callBackFunction);
					}
					catch(e)
					{
						return;
					}
				}
			}
		}
		
		if( callBackFunction )
			callBackFunction(links);
	}
	-->
	</script>
</head>
<body>
	<form id="form1" runat="server">
		<div>
			<asp:ScriptManager ID="ScriptManager1" runat="server">
			</asp:ScriptManager>
			<asp:UpdatePanel ID="UpdatePanel1" runat="server">
				<ContentTemplate>
					<uc:ModuleArticleSelector ID="ModuleArticle1" OnSelectFinish="ModuleArticle1_SelectFinish" runat="server" />
				</ContentTemplate>
			</asp:UpdatePanel>
		</div>
		<Hxctr:MessageBox ID="MessageBox1" runat="server" />
		<Hxctr:UpdateProgress ID="UpdateProgress1" runat="server" />
	</form>
</body>
</html>